package com.ss.sshellotest.controller;

import com.ss.hello_spring_boot_starter.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ss
 * @version V1.0
 * @description 【功能】
 * @date 2019/1/28
 */

@RestController
public class HelloFacade {

    @Autowired
    private HelloService helloService;

    @RequestMapping("/")
    public String sayHello(){
        return  helloService.sayHello();
    }
}
